/* Basile Clout, May 2007
*
* Definitions for test_socket.c*/


#include <sys/time.h>
#include <unistd.h>


/* General values */


#define BANDWIDTH_VALUES
#define SIZE_STRING 64
#define PORT 39000
#define TCP_BUFFER_SIZE (32*1024)
//#define TCP_TEST_SIZE (1024*1024)
//#define TCP_PIECE_SIZE (TCP_TEST_SIZE/128)
#define TCP_TEST_SIZE (256*1024)
#define TCP_PIECE_SIZE (TCP_TEST_SIZE/32)
#define BACKLOG 10
#define LAT_NB_TESTS 5
#define MTU 1500 

/* Timing */

#define CLOCK(c) gettimeofday(&c,(struct timezone *)NULL)
#define CLOCK_DIFF(c1,c2) ((double)(c1.tv_sec-c2.tv_sec)+(double)(c1.tv_usec-c2.tv_usec)/1e+6)


/* Packets size */



